<?php

namespace app\validate;

use core\validate\ValidateBase;

class SiteRole extends ValidateBase
{
    protected $rule =   [
        'title'  => 'require',
        'siteid' => 'require|number',
    ];

    protected $message  =   [
        'title.require'  => '角色必填',
        'siteid.require' => '站点必填',
        'siteid.number'  => '站点必填',
    ];
}
